<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>My Project: cGroundV1类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>变量</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pro-methods">Protected 成员函数</a>  </div>
  <div class="headertitle">
<div class="title">cGroundV1类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>地板类，升级版； 和cGround的区别： 1）是构造函数的参数。 2) 可以剔除网格。  
 <a href="classc_ground_v1.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="c_ground_v1_8h_source.html">cGroundV1.h</a>&gt;</code></p>

<p><a href="classc_ground_v1-members.html">所有成员列表.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a2f8e7edd7edca53f45531c08b855c4ce"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f8e7edd7edca53f45531c08b855c4ce"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>cGroundV1</b> (<a class="el" href="classc_vertex_decl.html">cVertexDecl</a> *pVertexDecl, const <a class="el" href="struct_terrain.html">Terrain</a> &amp;t)</td></tr>
<tr class="memitem:ab1b32993a3ed9d45ca37ec9e53298b73"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1b32993a3ed9d45ca37ec9e53298b73"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_ground_v1.html#ab1b32993a3ed9d45ca37ec9e53298b73">init_light_tex_ground_sub_mesh</a> (<a class="el" href="classc_height_map.html">cHeightMap</a> *pHeightMap, D3DXVECTOR3 Center=Zero)</td></tr>
<tr class="memdesc:ab1b32993a3ed9d45ca37ec9e53298b73"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化整个网格 <br/></td></tr>
<tr class="memitem:aacec4e84a3eac998b5c6dd6819891431"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aacec4e84a3eac998b5c6dd6819891431"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_ground_v1.html#aacec4e84a3eac998b5c6dd6819891431">draw_light_tex_sub_mesh_ground</a> ()</td></tr>
<tr class="memdesc:aacec4e84a3eac998b5c6dd6819891431"><td class="mdescLeft">&#160;</td><td class="mdescRight">渲染子网格 <br/></td></tr>
<tr class="memitem:a929bd2731a539ff3c22e5fc4349115b7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a929bd2731a539ff3c22e5fc4349115b7"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_ground_v1.html#a929bd2731a539ff3c22e5fc4349115b7">get_light_texGround_sub_mesh_Y</a> (<a class="el" href="classc_height_map.html">cHeightMap</a> *pHeightMap, float Row, float Col)</td></tr>
<tr class="memdesc:a929bd2731a539ff3c22e5fc4349115b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">给出位置得到所处的高度 <br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a9f2c1ad9fa3deee39d68619c33ca7c45"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f2c1ad9fa3deee39d68619c33ca7c45"></a>
vector&lt; ID3DXMesh * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_ground_v1.html#a9f2c1ad9fa3deee39d68619c33ca7c45">_RayTestMesh</a></td></tr>
<tr class="memdesc:a9f2c1ad9fa3deee39d68619c33ca7c45"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于射线相交使用；存储了经过cameraV1剔除后的子网格。 <br/></td></tr>
<tr class="memitem:a906b8da05d29914905ef4768598e03b0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a906b8da05d29914905ef4768598e03b0"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_ground_v1.html#a906b8da05d29914905ef4768598e03b0">_D_MeshInFrustum</a></td></tr>
<tr class="memdesc:a906b8da05d29914905ef4768598e03b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">在平截头的网格数。 <br/></td></tr>
<tr class="memitem:aed1310d9019896a8717905f4d9abe741"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed1310d9019896a8717905f4d9abe741"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_ground_v1.html#aed1310d9019896a8717905f4d9abe741">_D_NumSubRows</a></td></tr>
<tr class="memdesc:aed1310d9019896a8717905f4d9abe741"><td class="mdescLeft">&#160;</td><td class="mdescRight">被分割行的块数。 <br/></td></tr>
<tr class="memitem:ae9ce9affdffa42c7f4a0a5c8cc8c9753"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae9ce9affdffa42c7f4a0a5c8cc8c9753"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_ground_v1.html#ae9ce9affdffa42c7f4a0a5c8cc8c9753">_D_NumSubCols</a></td></tr>
<tr class="memdesc:ae9ce9affdffa42c7f4a0a5c8cc8c9753"><td class="mdescLeft">&#160;</td><td class="mdescRight">被分割列的块数。 <br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:ab41c97b14628d56e1547d83d566aa8af"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab41c97b14628d56e1547d83d566aa8af"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sub_mesh</b> (RECT &amp;Rect, vector&lt; <a class="el" href="struct_light_texture_vertex_v1.html">LightTextureVertexV1</a> &gt; &amp;GobalVertex)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>详细描述</h2>
<div class="textblock"><p>地板类，升级版； 和cGround的区别： 1）是构造函数的参数。 2) 可以剔除网格。 </p>
<dl class="section remark"><dt>备注:</dt><dd>内部使用从cCameraV1来剔除不可见的网格块。 需要的V1系列：cCameraV1。 </dd></dl>
</div><hr/>该类的文档由以下文件生成:<ul>
<li>E:/!代码工厂/3D引擎/<a class="el" href="c_ground_v1_8h_source.html">cGroundV1.h</a></li>
<li>E:/!代码工厂/3D引擎/cGourndV1.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2012年 五月 27日 星期日 22:27:19 , 为 My Project使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1
</small></address>
</body>
</html>
